package com.example.finaltool.model.db.info;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.finaltool.consts.Table;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.sql.Timestamp;

/**
 * @author dengbw
 * @date 2021/8/11 10:33 上午
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName(Table.INFO_NEWS)
public class News {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long type;
    private String subject;
    private String abstr;
    private String content;
    private String outUrl;
    private String images;
    private String remark;
    private Integer isDel;
    private String attachments;
    private Long createUserId;
    private Timestamp createTime;
    private Long modifyUserId;
    private Timestamp modifyTime;
    private String tenantId;
    private Long subTenantId;
    private String readCount;
}
